import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "my.server")
@Data
public class MyStartProperties {


    /**
     * Name of the server.
     */
    private String name = "fyt";

    /**
     * IP address to listen to.
     */
    private String ip = "47.108.68.48";

    /**
     * Port to listener to.
     */
    private int port = 3022;
}
